package com.ruoyi.teaching.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.teaching.domain.WebSocketUserDialogue;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 李志鑫
 * @since 2024-08-23
 */
@Mapper
public interface WebSocketUserDialogueMapper extends BaseMapper<WebSocketUserDialogue> {

    Integer insertUserDialogue(WebSocketUserDialogue webSocketUserDialogue);

    List<WebSocketUserDialogue> selectUserDialogueBy(@Param("aId") Long aId, @Param("bId") Long bId, @Param("type") Integer type);
   void updateGroupNotice(@Param("dialogueId") Long dialogueId, @Param("groupNotice") String groupNotice);
   void updateGroupName(@Param("dialogueId") Long dialogueId, @Param("groupName") String groupName);

}
